﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using Hydrobase;
using System.Web;

namespace LoneWolf
{
   public  class Core
    {
       public static string[] RssTags = {BaseClass.TagPimKey+ "feed", "DownloadSubDir" };
       public const string Feedsfile = "Feeds.xml";
       public static void errorreport(Exception ex)
       {
           
           System.Net.WebException webex = new System.Net.WebException();
           if(ex.GetType()!=webex.GetType())
           {
           System.Windows.Forms.MessageBox.Show(ex.ToString());
           }
           else if (ex.GetType() == webex.GetType())
           {
               System.Windows.Forms.MessageBox.Show(ex.Message);
           }
       }

       public static string GetVersion()
       {

           return Assembly.GetExecutingAssembly().GetName().Version.ToString();

       }
    }
}
